<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="Coderoom.ScrumPlanner.Web.Controllers"%>

<asp:Content ID="MainContentPlaceHolder" ContentPlaceHolderID="MainContent" runat="server">
	
    <h2 class="first">New Project</h2>

    <%= Html.ValidationSummary() %>
    
    <% using (Html.BeginForm()) { %>
		<%= Html.AntiForgeryToken("0FC697D4-5AF3-4091-8361-66602440DE52") %>
        <fieldset>
			<ul>
				<li>
					<label for="title">Project Name:</label>
					<%= Html.TextBox("title", "", new { @class = "autofocus" }) %>
					<%= Html.ValidationMessage("title") %>
                </li>
                <li>
					<label for="slug">Slug:</label>
					<%= Html.TextBox("slug") %>
					<%= Html.ValidationMessage("slug") %>
					<div class="info">
						This is how project name will appear in the URLs
					</div>
                </li>
                <li class="commands">
					<a href="<%= Html.BuildUrlFromExpression<ProjectController>(x => x.List()) %>" class="command negative">
						<%= Html.Image("/images/button/cross.png", "")%>
						Cancel
					</a>
					<button type="submit" class="affirmative" value="Save">
						<%= Html.Image("/images/button/tick.png", "") %>
						Save
					</button>
                </li>
			</ul>
        </fieldset>
    <% } %>

</asp:Content>

<asp:Content ID="SidebarContentPlaceHolder" ContentPlaceHolderID="SidebarContent" runat="server">

	<p class="last">
		This sidebar will contain search and help instructions.
	</p>

</asp:Content>
